package com.felix.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ScheduleServiceHi.java
 *
 * @author xuejinhua
 * @date 2018/10/22 9:40
 */
@FeignClient(value = "service-hello")
public interface ScheduleServiceHi {

    /**
     * sayHiFromClientOne
     *
     * @param name
     * @return
     * @author xuejinhua
     * @date 2018/10/19 16:29
     * @modify
     */
    @GetMapping(value = "/hi")
    String sayHiFromClientOne(@RequestParam(value = "name") String name);
}
